package com.hibase.upms.entity.user.vo;

import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * 类备注：
 *
 * @author hufeng
 * @version 1.0
 * @date 2019-03-16 13:07
 * @desc
 * @since 1.8
 */
@ApiModel("微信用户加密信息")
@Data
@HibaseValid
public class WxUserInfoReqVO {

    @ApiModelProperty(value = "加密信息", example = "xxxx")
    @NotBlank(message = "用户信息不能为空")
    private String encryptedData;

    @ApiModelProperty(value = "iv", example = "xxxx")
    @NotBlank(message = "iv不能为空")
    private String iv;

    @ApiModelProperty(value = "openid", example = "xxxx")
    @NotBlank(message = "openid不能为空")
    private String openId;
}
